git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d6ed98
)
applied oppf_flver.patch from Ricardo Pedroso
author
Matthias Kramm
<kramm@quiss.org>
Fri, 4 Jun 2010 23:10:12 +0000
(16:10 -0700)
committer
Matthias Kramm
<kramm@quiss.org>
Fri, 4 Jun 2010 23:10:12 +0000
(16:10 -0700)
wx/lib/document.py
patch
|
blob
|
history
diff --git
a/wx/lib/document.py
b/wx/lib/document.py
index
cb9b00d
..
de0af53
100644
(file)
--- a/
wx/lib/document.py
+++ b/
wx/lib/document.py
@@
-101,6
+101,14
@@
class _SaveSWFThread:
filename = self.__filename.replace('.swf', form % pagenr)
swf.save(filename)
swf = gfx.SWF()
+
+ try:
+ plugin = self.__options.viewers.init(swf, self.__filename)
+ except Exception, e:
+ wx.CallAfter(Publisher.sendMessage, "PLUGIN_ERROR")
+ self.__running = False
+ return
+
self.setparameters(swf)
if not self.__keep_running: